section .data

global tamano

section .text

tamano:
	push ebp
	mov ebp, esp
	
	mov eax, [ebp + 8]

	xor bl, bl

comp:	
	cmp byte [eax], 0x0
	je fin
	
	add eax, 1
	inc bl

	jmp comp
	
fin:
	mov eax, ecx
	pop ebp
	ret